package com.cuitrip.resource.drawable;

import android.graphics.drawable.Drawable;
import android.graphics.Shader;
import android.graphics.RectF;
import android.graphics.Rect;
import android.graphics.Path;
import android.graphics.Paint;
import android.graphics.Matrix;
import android.graphics.ColorFilter;
import android.graphics.Canvas;

public class VerifiedEnDrawable extends Drawable {
    private static final float[] VIEW_BOX = {0.000000f, 0.000000f, 92.000000f, 33.000000f};
    private RectF rect = new RectF();
    private Matrix matrix = new Matrix();
    private Shader shader;
    private Path p = new Path();
    private Paint paint = new Paint();

    @Override
    public void draw(Canvas canvas) {
        paint.setAntiAlias(true);
        float viewBoxWidth = VIEW_BOX[2];
        float viewBoxHeight = VIEW_BOX[3];
        Rect bounds = getBounds();
        if (viewBoxHeight <= 0 || viewBoxWidth <= 0 || bounds.width() <= 0 || bounds.height() <= 0) {
            return;
        }
        canvas.save();
        float viewBoxRatio = viewBoxWidth / (float) viewBoxHeight;
        float boundsRatio = bounds.width() / (float) bounds.height();
        float factorScale;
        if (boundsRatio > viewBoxRatio) {
            // canvas larger than viewbox
            factorScale = bounds.height() / (float) viewBoxHeight;
        } else {
            // canvas higher (or equals) than viewbox
            factorScale = bounds.width() / (float) viewBoxWidth;
        }
        int newViewBoxHeight = Math.round(factorScale * viewBoxHeight);
        int newViewBoxWidth = Math.round(factorScale * viewBoxWidth);
        int marginX = bounds.width() - newViewBoxWidth;
        int marginY = bounds.height() - newViewBoxHeight;
        canvas.translate(bounds.left, bounds.top);
        canvas.translate(Math.round(marginX / 2f), Math.round(marginY / 2f));
        canvas.clipRect(0, 0, newViewBoxWidth, newViewBoxHeight);
        canvas.translate(-Math.round(factorScale * VIEW_BOX[0]), -Math.round(factorScale * VIEW_BOX[1]));
        paint.setAlpha(255);
        paint.setAlpha(255);
        paint.setAlpha(255);
        paint.setAlpha(255);
        paint.setAlpha(255);
        paint.setAlpha(255);
        paint.setAlpha(255);
        paint.setAlpha(255);
        paint.setAlpha(255);
        paint.setAlpha(255);
        paint.setAlpha(255);
        paint.setAlpha(255);
        paint.setAlpha(255);
        matrix.reset();
        matrix.postTranslate(factorScale * 1.000000f, factorScale * 1.000000f);
        canvas.save();
        canvas.concat(matrix);
        paint.setAlpha(255);
        matrix.reset();
        matrix.postTranslate(factorScale * 22.000000f, factorScale * 4.000000f);
        canvas.save();
        canvas.concat(matrix);
        paint.setAlpha(255);
        paint.setShader(null);
        paint.setColor(-16722689);
        paint.setAlpha(255);
        paint.setStyle(Paint.Style.FILL);
        canvas.drawRect(factorScale * 0.000000f, factorScale * 0.000000f, factorScale * 68.000000f, factorScale * 20.000000f, paint);
        paint.setColor(-16728861);
        paint.setAlpha(255);
        paint.setStrokeWidth(0.500000f);
        paint.setStyle(Paint.Style.STROKE);
        canvas.drawRect(factorScale * 0.000000f, factorScale * 0.000000f, factorScale * 68.000000f, factorScale * 20.000000f, paint);
        paint.setAlpha(255);
        p.reset();
        p.moveTo(factorScale * 14.040039f, factorScale * 7.125000f);
        p.lineTo(factorScale * 13.443848f, factorScale * 7.232422f);
        p.lineTo(factorScale * 14.829590f, factorScale * 11.921387f);
        p.lineTo(factorScale * 14.926270f, factorScale * 12.351074f);
        p.lineTo(factorScale * 14.958496f, factorScale * 12.351074f);
        p.lineTo(factorScale * 15.049805f, factorScale * 11.932129f);
        p.lineTo(factorScale * 16.440918f, factorScale * 7.232422f);
        p.lineTo(factorScale * 15.850098f, factorScale * 7.125000f);
        p.lineTo(factorScale * 15.850098f, factorScale * 6.179688f);
        p.lineTo(factorScale * 18.707520f, factorScale * 6.179688f);
        p.lineTo(factorScale * 18.707520f, factorScale * 7.125000f);
        p.lineTo(factorScale * 18.052246f, factorScale * 7.210938f);

        p.lineTo(factorScale * 15.748047f, factorScale * 14.000000f);
        p.lineTo(factorScale * 14.136719f, factorScale * 14.000000f);
        p.lineTo(factorScale * 11.827148f, factorScale * 7.210938f);
        p.lineTo(factorScale * 11.182617f, factorScale * 7.125000f);
        p.lineTo(factorScale * 11.182617f, factorScale * 6.179688f);
        p.lineTo(factorScale * 14.040039f, factorScale * 6.179688f);
        p.lineTo(factorScale * 14.040039f, factorScale * 7.125000f);
        p.close();
        p.moveTo(factorScale * 14.040039f, factorScale * 7.125000f);
        p.moveTo(factorScale * 24.234375f, factorScale * 10.562500f);
        p.lineTo(factorScale * 21.586426f, factorScale * 10.562500f);
        p.lineTo(factorScale * 21.586426f, factorScale * 12.796875f);
        p.lineTo(factorScale * 24.110840f, factorScale * 12.796875f);
        p.lineTo(factorScale * 24.180664f, factorScale * 11.862305f);
        p.lineTo(factorScale * 25.373047f, factorScale * 11.862305f);
        p.lineTo(factorScale * 25.373047f, factorScale * 14.000000f);
        p.lineTo(factorScale * 19.185547f, factorScale * 14.000000f);
        p.lineTo(factorScale * 19.185547f, factorScale * 13.060059f);
        p.lineTo(factorScale * 20.018066f, factorScale * 12.898926f);
        p.lineTo(factorScale * 20.018066f, factorScale * 7.286133f);
        p.lineTo(factorScale * 19.185547f, factorScale * 7.125000f);
        p.lineTo(factorScale * 19.185547f, factorScale * 6.179688f);
        p.lineTo(factorScale * 20.018066f, factorScale * 6.179688f);
        p.lineTo(factorScale * 25.362305f, factorScale * 6.179688f);
        p.lineTo(factorScale * 25.362305f, factorScale * 8.322754f);
        p.lineTo(factorScale * 24.159180f, factorScale * 8.322754f);
        p.lineTo(factorScale * 24.089355f, factorScale * 7.388184f);
        p.lineTo(factorScale * 21.586426f, factorScale * 7.388184f);
        p.lineTo(factorScale * 21.586426f, factorScale * 9.354004f);
        p.lineTo(factorScale * 24.234375f, factorScale * 9.354004f);
        p.lineTo(factorScale * 24.234375f, factorScale * 10.562500f);
        p.close();
        p.moveTo(factorScale * 24.234375f, factorScale * 10.562500f);
        p.moveTo(factorScale * 29.723633f, factorScale * 6.179688f);
        p.cubicTo(factorScale * 30.611658f, factorScale * 6.179688f, factorScale * 31.308104f, factorScale * 6.382892f, factorScale * 31.812988f, factorScale * 6.789307f);
        p.cubicTo(factorScale * 32.317875f, factorScale * 7.195722f, factorScale * 32.570313f, factorScale * 7.756995f, factorScale * 32.570313f, factorScale * 8.473145f);
        p.cubicTo(factorScale * 32.570313f, factorScale * 8.867026f, factorScale * 32.464684f, factorScale * 9.208982f, factorScale * 32.253418f, factorScale * 9.499023f);
        p.cubicTo(factorScale * 32.042152f, factorScale * 9.789064f, factorScale * 31.732424f, factorScale * 10.023600f, factorScale * 31.324219f, factorScale * 10.202637f);
        p.cubicTo(factorScale * 31.786135f, factorScale * 10.338705f, factorScale * 32.118244f, factorScale * 10.565184f, factorScale * 32.320557f, factorScale * 10.882080f);
        p.cubicTo(factorScale * 32.522869f, factorScale * 11.198977f, factorScale * 32.624023f, factorScale * 11.591957f, factorScale * 32.624023f, factorScale * 12.061035f);
        p.lineTo(factorScale * 32.624023f, factorScale * 12.458496f);
        p.cubicTo(factorScale * 32.624023f, factorScale * 12.630372f, factorScale * 32.658039f, factorScale * 12.763753f, factorScale * 32.726074f, factorScale * 12.858643f);
        p.cubicTo(factorScale * 32.794109f, factorScale * 12.953532f, factorScale * 32.906898f, factorScale * 13.009929f, factorScale * 33.064453f, factorScale * 13.027832f);
        p.lineTo(factorScale * 33.257813f, factorScale * 13.054688f);
        p.lineTo(factorScale * 33.257813f, factorScale * 14.000000f);
        p.lineTo(factorScale * 32.446777f, factorScale * 14.000000f);
        p.cubicTo(factorScale * 31.934731f, factorScale * 14.000000f, factorScale * 31.574871f, factorScale * 13.862144f, factorScale * 31.367188f, factorScale * 13.586426f);

        p.cubicTo(factorScale * 31.159504f, factorScale * 13.310708f, factorScale * 31.055664f, factorScale * 12.954430f, factorScale * 31.055664f, factorScale * 12.517578f);
        p.lineTo(factorScale * 31.055664f, factorScale * 12.071777f);
        p.cubicTo(factorScale * 31.055664f, factorScale * 11.692218f, factorScale * 30.954510f, factorScale * 11.394126f, factorScale * 30.752197f, factorScale * 11.177490f);
        p.cubicTo(factorScale * 30.549885f, factorScale * 10.960855f, factorScale * 30.264324f, factorScale * 10.847168f, factorScale * 29.895508f, factorScale * 10.836426f);
        p.lineTo(factorScale * 28.611816f, factorScale * 10.836426f);
        p.lineTo(factorScale * 28.611816f, factorScale * 12.898926f);
        p.lineTo(factorScale * 29.449707f, factorScale * 13.060059f);
        p.lineTo(factorScale * 29.449707f, factorScale * 14.000000f);
        p.lineTo(factorScale * 26.210938f, factorScale * 14.000000f);
        p.lineTo(factorScale * 26.210938f, factorScale * 13.060059f);
        p.lineTo(factorScale * 27.043457f, factorScale * 12.898926f);
        p.lineTo(factorScale * 27.043457f, factorScale * 7.286133f);
        p.lineTo(factorScale * 26.210938f, factorScale * 7.125000f);
        p.lineTo(factorScale * 26.210938f, factorScale * 6.179688f);
        p.lineTo(factorScale * 27.043457f, factorScale * 6.179688f);
        p.lineTo(factorScale * 29.723633f, factorScale * 6.179688f);
        p.close();
        p.moveTo(factorScale * 29.723633f, factorScale * 6.179688f);
        p.moveTo(factorScale * 28.611816f, factorScale * 9.627930f);
        p.lineTo(factorScale * 29.696777f, factorScale * 9.627930f);
        p.cubicTo(factorScale * 30.133629f, factorScale * 9.627930f, factorScale * 30.461262f, factorScale * 9.534832f, factorScale * 30.679688f, factorScale * 9.348633f);
        p.cubicTo(factorScale * 30.898113f, factorScale * 9.162434f, factorScale * 31.007324f, factorScale * 8.893882f, factorScale * 31.007324f, factorScale * 8.542969f);
        p.cubicTo(factorScale * 31.007324f, factorScale * 8.192056f, factorScale * 30.899008f, factorScale * 7.911866f, factorScale * 30.682373f, factorScale * 7.702393f);
        p.cubicTo(factorScale * 30.465738f, factorScale * 7.492919f, factorScale * 30.146160f, factorScale * 7.388184f, factorScale * 29.723633f, factorScale * 7.388184f);
        p.lineTo(factorScale * 28.611816f, factorScale * 7.388184f);
        p.lineTo(factorScale * 28.611816f, factorScale * 9.627930f);
        p.close();
        p.moveTo(factorScale * 28.611816f, factorScale * 9.627930f);
        p.moveTo(factorScale * 33.768066f, factorScale * 7.125000f);
        p.lineTo(factorScale * 33.768066f, factorScale * 6.179688f);
        p.lineTo(factorScale * 37.006836f, factorScale * 6.179688f);
        p.lineTo(factorScale * 37.006836f, factorScale * 7.125000f);
        p.lineTo(factorScale * 36.168945f, factorScale * 7.286133f);
        p.lineTo(factorScale * 36.168945f, factorScale * 12.898926f);
        p.lineTo(factorScale * 37.006836f, factorScale * 13.060059f);
        p.lineTo(factorScale * 37.006836f, factorScale * 14.000000f);
        p.lineTo(factorScale * 33.768066f, factorScale * 14.000000f);
        p.lineTo(factorScale * 33.768066f, factorScale * 13.060059f);
        p.lineTo(factorScale * 34.605957f, factorScale * 12.898926f);
        p.lineTo(factorScale * 34.605957f, factorScale * 7.286133f);
        p.lineTo(factorScale * 33.768066f, factorScale * 7.125000f);
        p.close();
        p.moveTo(factorScale * 33.768066f, factorScale * 7.125000f);
        p.moveTo(factorScale * 37.603027f, factorScale * 13.060059f);
        p.lineTo(factorScale * 38.435547f, factorScale * 12.898926f);
        p.lineTo(factorScale * 38.435547f, factorScale * 7.286133f);
        p.lineTo(factorScale * 37.603027f, factorScale * 7.125000f);
        p.lineTo(factorScale * 37.603027f, factorScale * 6.179688f);
        p.lineTo(factorScale * 43.828125f, factorScale * 6.179688f);
        p.lineTo(factorScale * 43.828125f, factorScale * 8.322754f);
        p.lineTo(factorScale * 42.625000f, factorScale * 8.322754f);

        p.lineTo(factorScale * 42.555176f, factorScale * 7.388184f);
        p.lineTo(factorScale * 40.003906f, factorScale * 7.388184f);
        p.lineTo(factorScale * 40.003906f, factorScale * 9.541992f);
        p.lineTo(factorScale * 42.743164f, factorScale * 9.541992f);
        p.lineTo(factorScale * 42.743164f, factorScale * 10.750488f);
        p.lineTo(factorScale * 40.003906f, factorScale * 10.750488f);
        p.lineTo(factorScale * 40.003906f, factorScale * 12.898926f);
        p.lineTo(factorScale * 40.841797f, factorScale * 13.060059f);
        p.lineTo(factorScale * 40.841797f, factorScale * 14.000000f);
        p.lineTo(factorScale * 37.603027f, factorScale * 14.000000f);
        p.lineTo(factorScale * 37.603027f, factorScale * 13.060059f);
        p.close();
        p.moveTo(factorScale * 37.603027f, factorScale * 13.060059f);
        p.moveTo(factorScale * 44.392090f, factorScale * 7.125000f);
        p.lineTo(factorScale * 44.392090f, factorScale * 6.179688f);
        p.lineTo(factorScale * 47.630859f, factorScale * 6.179688f);
        p.lineTo(factorScale * 47.630859f, factorScale * 7.125000f);
        p.lineTo(factorScale * 46.792969f, factorScale * 7.286133f);
        p.lineTo(factorScale * 46.792969f, factorScale * 12.898926f);
        p.lineTo(factorScale * 47.630859f, factorScale * 13.060059f);
        p.lineTo(factorScale * 47.630859f, factorScale * 14.000000f);
        p.lineTo(factorScale * 44.392090f, factorScale * 14.000000f);
        p.lineTo(factorScale * 44.392090f, factorScale * 13.060059f);
        p.lineTo(factorScale * 45.229980f, factorScale * 12.898926f);
        p.lineTo(factorScale * 45.229980f, factorScale * 7.286133f);
        p.lineTo(factorScale * 44.392090f, factorScale * 7.125000f);
        p.close();
        p.moveTo(factorScale * 44.392090f, factorScale * 7.125000f);
        p.moveTo(factorScale * 53.275879f, factorScale * 10.562500f);
        p.lineTo(factorScale * 50.627930f, factorScale * 10.562500f);
        p.lineTo(factorScale * 50.627930f, factorScale * 12.796875f);
        p.lineTo(factorScale * 53.152344f, factorScale * 12.796875f);
        p.lineTo(factorScale * 53.222168f, factorScale * 11.862305f);
        p.lineTo(factorScale * 54.414551f, factorScale * 11.862305f);
        p.lineTo(factorScale * 54.414551f, factorScale * 14.000000f);
        p.lineTo(factorScale * 48.227051f, factorScale * 14.000000f);
        p.lineTo(factorScale * 48.227051f, factorScale * 13.060059f);
        p.lineTo(factorScale * 49.059570f, factorScale * 12.898926f);
        p.lineTo(factorScale * 49.059570f, factorScale * 7.286133f);
        p.lineTo(factorScale * 48.227051f, factorScale * 7.125000f);
        p.lineTo(factorScale * 48.227051f, factorScale * 6.179688f);
        p.lineTo(factorScale * 49.059570f, factorScale * 6.179688f);
        p.lineTo(factorScale * 54.403809f, factorScale * 6.179688f);
        p.lineTo(factorScale * 54.403809f, factorScale * 8.322754f);
        p.lineTo(factorScale * 53.200684f, factorScale * 8.322754f);
        p.lineTo(factorScale * 53.130859f, factorScale * 7.388184f);
        p.lineTo(factorScale * 50.627930f, factorScale * 7.388184f);
        p.lineTo(factorScale * 50.627930f, factorScale * 9.354004f);
        p.lineTo(factorScale * 53.275879f, factorScale * 9.354004f);
        p.lineTo(factorScale * 53.275879f, factorScale * 10.562500f);
        p.close();
        p.moveTo(factorScale * 53.275879f, factorScale * 10.562500f);
        p.moveTo(factorScale * 58.770508f, factorScale * 6.179688f);
        p.cubicTo(factorScale * 59.726566f, factorScale * 6.179688f, factorScale * 60.514320f, factorScale * 6.484941f, factorScale * 61.133789f, factorScale * 7.095459f);
        p.cubicTo(factorScale * 61.753258f, factorScale * 7.705976f, factorScale * 62.062988f, factorScale * 8.489253f, factorScale * 62.062988f, factorScale * 9.445313f);
        p.lineTo(factorScale * 62.062988f, factorScale * 10.739746f);
        p.cubicTo(factorScale * 62.062988f, factorScale * 11.699387f, factorScale * 61.753258f, factorScale * 12.482663f, factorScale * 61.133789f, factorScale * 13.089600f);

        p.cubicTo(factorScale * 60.514320f, factorScale * 13.696536f, factorScale * 59.726566f, factorScale * 14.000000f, factorScale * 58.770508f, factorScale * 14.000000f);
        p.lineTo(factorScale * 55.252441f, factorScale * 14.000000f);
        p.lineTo(factorScale * 55.252441f, factorScale * 13.060059f);
        p.lineTo(factorScale * 56.084961f, factorScale * 12.898926f);
        p.lineTo(factorScale * 56.084961f, factorScale * 7.286133f);
        p.lineTo(factorScale * 55.252441f, factorScale * 7.125000f);
        p.lineTo(factorScale * 55.252441f, factorScale * 6.179688f);
        p.lineTo(factorScale * 56.084961f, factorScale * 6.179688f);
        p.lineTo(factorScale * 58.770508f, factorScale * 6.179688f);
        p.close();
        p.moveTo(factorScale * 58.770508f, factorScale * 6.179688f);
        p.moveTo(factorScale * 57.653320f, factorScale * 7.388184f);
        p.lineTo(factorScale * 57.653320f, factorScale * 12.796875f);
        p.lineTo(factorScale * 58.689941f, factorScale * 12.796875f);
        p.cubicTo(factorScale * 59.252117f, factorScale * 12.796875f, factorScale * 59.692543f, factorScale * 12.607099f, factorScale * 60.011230f, factorScale * 12.227539f);
        p.cubicTo(factorScale * 60.329918f, factorScale * 11.847980f, factorScale * 60.489258f, factorScale * 11.352054f, factorScale * 60.489258f, factorScale * 10.739746f);
        p.lineTo(factorScale * 60.489258f, factorScale * 9.434570f);
        p.cubicTo(factorScale * 60.489258f, factorScale * 8.829424f, factorScale * 60.329918f, factorScale * 8.337079f, factorScale * 60.011230f, factorScale * 7.957520f);
        p.cubicTo(factorScale * 59.692543f, factorScale * 7.577960f, factorScale * 59.252117f, factorScale * 7.388184f, factorScale * 58.689941f, factorScale * 7.388184f);
        p.lineTo(factorScale * 57.653320f, factorScale * 7.388184f);
        p.close();
        p.moveTo(factorScale * 57.653320f, factorScale * 7.388184f);
        p.setFillType(Path.FillType.EVEN_ODD);
        paint.setShader(null);
        paint.setColor(-16728861);
        paint.setAlpha(255);
        paint.setStyle(Paint.Style.FILL);
        canvas.drawPath(p, paint);
        paint.setColor(-16728861);
        paint.setAlpha(255);
        paint.setStyle(Paint.Style.STROKE);
        canvas.drawPath(p, paint);
        paint.setAlpha(255);
        p.reset();
        p.moveTo(factorScale * 14.040039f, factorScale * 7.125000f);
        p.lineTo(factorScale * 13.443848f, factorScale * 7.232422f);
        p.lineTo(factorScale * 14.829590f, factorScale * 11.921387f);
        p.lineTo(factorScale * 14.926270f, factorScale * 12.351074f);
        p.lineTo(factorScale * 14.958496f, factorScale * 12.351074f);
        p.lineTo(factorScale * 15.049805f, factorScale * 11.932129f);
        p.lineTo(factorScale * 16.440918f, factorScale * 7.232422f);
        p.lineTo(factorScale * 15.850098f, factorScale * 7.125000f);
        p.lineTo(factorScale * 15.850098f, factorScale * 6.179688f);
        p.lineTo(factorScale * 18.707520f, factorScale * 6.179688f);
        p.lineTo(factorScale * 18.707520f, factorScale * 7.125000f);
        p.lineTo(factorScale * 18.052246f, factorScale * 7.210938f);
        p.lineTo(factorScale * 15.748047f, factorScale * 14.000000f);
        p.lineTo(factorScale * 14.136719f, factorScale * 14.000000f);
        p.lineTo(factorScale * 11.827148f, factorScale * 7.210938f);
        p.lineTo(factorScale * 11.182617f, factorScale * 7.125000f);
        p.lineTo(factorScale * 11.182617f, factorScale * 6.179688f);
        p.lineTo(factorScale * 14.040039f, factorScale * 6.179688f);
        p.lineTo(factorScale * 14.040039f, factorScale * 7.125000f);
        p.close();
        p.moveTo(factorScale * 14.040039f, factorScale * 7.125000f);
        p.moveTo(factorScale * 24.234375f, factorScale * 10.562500f);
        p.lineTo(factorScale * 21.586426f, factorScale * 10.562500f);
        p.lineTo(factorScale * 21.586426f, factorScale * 12.796875f);
        p.lineTo(factorScale * 24.110840f, factorScale * 12.796875f);
        p.lineTo(factorScale * 24.180664f, factorScale * 11.862305f);
        p.lineTo(factorScale * 25.373047f, factorScale * 11.862305f);

        p.lineTo(factorScale * 25.373047f, factorScale * 14.000000f);
        p.lineTo(factorScale * 19.185547f, factorScale * 14.000000f);
        p.lineTo(factorScale * 19.185547f, factorScale * 13.060059f);
        p.lineTo(factorScale * 20.018066f, factorScale * 12.898926f);
        p.lineTo(factorScale * 20.018066f, factorScale * 7.286133f);
        p.lineTo(factorScale * 19.185547f, factorScale * 7.125000f);
        p.lineTo(factorScale * 19.185547f, factorScale * 6.179688f);
        p.lineTo(factorScale * 20.018066f, factorScale * 6.179688f);
        p.lineTo(factorScale * 25.362305f, factorScale * 6.179688f);
        p.lineTo(factorScale * 25.362305f, factorScale * 8.322754f);
        p.lineTo(factorScale * 24.159180f, factorScale * 8.322754f);
        p.lineTo(factorScale * 24.089355f, factorScale * 7.388184f);
        p.lineTo(factorScale * 21.586426f, factorScale * 7.388184f);
        p.lineTo(factorScale * 21.586426f, factorScale * 9.354004f);
        p.lineTo(factorScale * 24.234375f, factorScale * 9.354004f);
        p.lineTo(factorScale * 24.234375f, factorScale * 10.562500f);
        p.close();
        p.moveTo(factorScale * 24.234375f, factorScale * 10.562500f);
        p.moveTo(factorScale * 29.723633f, factorScale * 6.179688f);
        p.cubicTo(factorScale * 30.611658f, factorScale * 6.179688f, factorScale * 31.308104f, factorScale * 6.382892f, factorScale * 31.812988f, factorScale * 6.789307f);
        p.cubicTo(factorScale * 32.317875f, factorScale * 7.195722f, factorScale * 32.570313f, factorScale * 7.756995f, factorScale * 32.570313f, factorScale * 8.473145f);
        p.cubicTo(factorScale * 32.570313f, factorScale * 8.867026f, factorScale * 32.464684f, factorScale * 9.208982f, factorScale * 32.253418f, factorScale * 9.499023f);
        p.cubicTo(factorScale * 32.042152f, factorScale * 9.789064f, factorScale * 31.732424f, factorScale * 10.023600f, factorScale * 31.324219f, factorScale * 10.202637f);
        p.cubicTo(factorScale * 31.786135f, factorScale * 10.338705f, factorScale * 32.118244f, factorScale * 10.565184f, factorScale * 32.320557f, factorScale * 10.882080f);
        p.cubicTo(factorScale * 32.522869f, factorScale * 11.198977f, factorScale * 32.624023f, factorScale * 11.591957f, factorScale * 32.624023f, factorScale * 12.061035f);
        p.lineTo(factorScale * 32.624023f, factorScale * 12.458496f);
        p.cubicTo(factorScale * 32.624023f, factorScale * 12.630372f, factorScale * 32.658039f, factorScale * 12.763753f, factorScale * 32.726074f, factorScale * 12.858643f);
        p.cubicTo(factorScale * 32.794109f, factorScale * 12.953532f, factorScale * 32.906898f, factorScale * 13.009929f, factorScale * 33.064453f, factorScale * 13.027832f);
        p.lineTo(factorScale * 33.257813f, factorScale * 13.054688f);
        p.lineTo(factorScale * 33.257813f, factorScale * 14.000000f);
        p.lineTo(factorScale * 32.446777f, factorScale * 14.000000f);
        p.cubicTo(factorScale * 31.934731f, factorScale * 14.000000f, factorScale * 31.574871f, factorScale * 13.862144f, factorScale * 31.367188f, factorScale * 13.586426f);
        p.cubicTo(factorScale * 31.159504f, factorScale * 13.310708f, factorScale * 31.055664f, factorScale * 12.954430f, factorScale * 31.055664f, factorScale * 12.517578f);
        p.lineTo(factorScale * 31.055664f, factorScale * 12.071777f);
        p.cubicTo(factorScale * 31.055664f, factorScale * 11.692218f, factorScale * 30.954510f, factorScale * 11.394126f, factorScale * 30.752197f, factorScale * 11.177490f);
        p.cubicTo(factorScale * 30.549885f, factorScale * 10.960855f, factorScale * 30.264324f, factorScale * 10.847168f, factorScale * 29.895508f, factorScale * 10.836426f);
        p.lineTo(factorScale * 28.611816f, factorScale * 10.836426f);
        p.lineTo(factorScale * 28.611816f, factorScale * 12.898926f);
        p.lineTo(factorScale * 29.449707f, factorScale * 13.060059f);
        p.lineTo(factorScale * 29.449707f, factorScale * 14.000000f);
        p.lineTo(factorScale * 26.210938f, factorScale * 14.000000f);

        p.lineTo(factorScale * 26.210938f, factorScale * 13.060059f);
        p.lineTo(factorScale * 27.043457f, factorScale * 12.898926f);
        p.lineTo(factorScale * 27.043457f, factorScale * 7.286133f);
        p.lineTo(factorScale * 26.210938f, factorScale * 7.125000f);
        p.lineTo(factorScale * 26.210938f, factorScale * 6.179688f);
        p.lineTo(factorScale * 27.043457f, factorScale * 6.179688f);
        p.lineTo(factorScale * 29.723633f, factorScale * 6.179688f);
        p.close();
        p.moveTo(factorScale * 29.723633f, factorScale * 6.179688f);
        p.moveTo(factorScale * 28.611816f, factorScale * 9.627930f);
        p.lineTo(factorScale * 29.696777f, factorScale * 9.627930f);
        p.cubicTo(factorScale * 30.133629f, factorScale * 9.627930f, factorScale * 30.461262f, factorScale * 9.534832f, factorScale * 30.679688f, factorScale * 9.348633f);
        p.cubicTo(factorScale * 30.898113f, factorScale * 9.162434f, factorScale * 31.007324f, factorScale * 8.893882f, factorScale * 31.007324f, factorScale * 8.542969f);
        p.cubicTo(factorScale * 31.007324f, factorScale * 8.192056f, factorScale * 30.899008f, factorScale * 7.911866f, factorScale * 30.682373f, factorScale * 7.702393f);
        p.cubicTo(factorScale * 30.465738f, factorScale * 7.492919f, factorScale * 30.146160f, factorScale * 7.388184f, factorScale * 29.723633f, factorScale * 7.388184f);
        p.lineTo(factorScale * 28.611816f, factorScale * 7.388184f);
        p.lineTo(factorScale * 28.611816f, factorScale * 9.627930f);
        p.close();
        p.moveTo(factorScale * 28.611816f, factorScale * 9.627930f);
        p.moveTo(factorScale * 33.768066f, factorScale * 7.125000f);
        p.lineTo(factorScale * 33.768066f, factorScale * 6.179688f);
        p.lineTo(factorScale * 37.006836f, factorScale * 6.179688f);
        p.lineTo(factorScale * 37.006836f, factorScale * 7.125000f);
        p.lineTo(factorScale * 36.168945f, factorScale * 7.286133f);
        p.lineTo(factorScale * 36.168945f, factorScale * 12.898926f);
        p.lineTo(factorScale * 37.006836f, factorScale * 13.060059f);
        p.lineTo(factorScale * 37.006836f, factorScale * 14.000000f);
        p.lineTo(factorScale * 33.768066f, factorScale * 14.000000f);
        p.lineTo(factorScale * 33.768066f, factorScale * 13.060059f);
        p.lineTo(factorScale * 34.605957f, factorScale * 12.898926f);
        p.lineTo(factorScale * 34.605957f, factorScale * 7.286133f);
        p.lineTo(factorScale * 33.768066f, factorScale * 7.125000f);
        p.close();
        p.moveTo(factorScale * 33.768066f, factorScale * 7.125000f);
        p.moveTo(factorScale * 37.603027f, factorScale * 13.060059f);
        p.lineTo(factorScale * 38.435547f, factorScale * 12.898926f);
        p.lineTo(factorScale * 38.435547f, factorScale * 7.286133f);
        p.lineTo(factorScale * 37.603027f, factorScale * 7.125000f);
        p.lineTo(factorScale * 37.603027f, factorScale * 6.179688f);
        p.lineTo(factorScale * 43.828125f, factorScale * 6.179688f);
        p.lineTo(factorScale * 43.828125f, factorScale * 8.322754f);
        p.lineTo(factorScale * 42.625000f, factorScale * 8.322754f);
        p.lineTo(factorScale * 42.555176f, factorScale * 7.388184f);
        p.lineTo(factorScale * 40.003906f, factorScale * 7.388184f);
        p.lineTo(factorScale * 40.003906f, factorScale * 9.541992f);
        p.lineTo(factorScale * 42.743164f, factorScale * 9.541992f);
        p.lineTo(factorScale * 42.743164f, factorScale * 10.750488f);
        p.lineTo(factorScale * 40.003906f, factorScale * 10.750488f);
        p.lineTo(factorScale * 40.003906f, factorScale * 12.898926f);
        p.lineTo(factorScale * 40.841797f, factorScale * 13.060059f);
        p.lineTo(factorScale * 40.841797f, factorScale * 14.000000f);
        p.lineTo(factorScale * 37.603027f, factorScale * 14.000000f);
        p.lineTo(factorScale * 37.603027f, factorScale * 13.060059f);
        p.close();
        p.moveTo(factorScale * 37.603027f, factorScale * 13.060059f);
        p.moveTo(factorScale * 44.392090f, factorScale * 7.125000f);
        p.lineTo(factorScale * 44.392090f, factorScale * 6.179688f);

        p.lineTo(factorScale * 47.630859f, factorScale * 6.179688f);
        p.lineTo(factorScale * 47.630859f, factorScale * 7.125000f);
        p.lineTo(factorScale * 46.792969f, factorScale * 7.286133f);
        p.lineTo(factorScale * 46.792969f, factorScale * 12.898926f);
        p.lineTo(factorScale * 47.630859f, factorScale * 13.060059f);
        p.lineTo(factorScale * 47.630859f, factorScale * 14.000000f);
        p.lineTo(factorScale * 44.392090f, factorScale * 14.000000f);
        p.lineTo(factorScale * 44.392090f, factorScale * 13.060059f);
        p.lineTo(factorScale * 45.229980f, factorScale * 12.898926f);
        p.lineTo(factorScale * 45.229980f, factorScale * 7.286133f);
        p.lineTo(factorScale * 44.392090f, factorScale * 7.125000f);
        p.close();
        p.moveTo(factorScale * 44.392090f, factorScale * 7.125000f);
        p.moveTo(factorScale * 53.275879f, factorScale * 10.562500f);
        p.lineTo(factorScale * 50.627930f, factorScale * 10.562500f);
        p.lineTo(factorScale * 50.627930f, factorScale * 12.796875f);
        p.lineTo(factorScale * 53.152344f, factorScale * 12.796875f);
        p.lineTo(factorScale * 53.222168f, factorScale * 11.862305f);
        p.lineTo(factorScale * 54.414551f, factorScale * 11.862305f);
        p.lineTo(factorScale * 54.414551f, factorScale * 14.000000f);
        p.lineTo(factorScale * 48.227051f, factorScale * 14.000000f);
        p.lineTo(factorScale * 48.227051f, factorScale * 13.060059f);
        p.lineTo(factorScale * 49.059570f, factorScale * 12.898926f);
        p.lineTo(factorScale * 49.059570f, factorScale * 7.286133f);
        p.lineTo(factorScale * 48.227051f, factorScale * 7.125000f);
        p.lineTo(factorScale * 48.227051f, factorScale * 6.179688f);
        p.lineTo(factorScale * 49.059570f, factorScale * 6.179688f);
        p.lineTo(factorScale * 54.403809f, factorScale * 6.179688f);
        p.lineTo(factorScale * 54.403809f, factorScale * 8.322754f);
        p.lineTo(factorScale * 53.200684f, factorScale * 8.322754f);
        p.lineTo(factorScale * 53.130859f, factorScale * 7.388184f);
        p.lineTo(factorScale * 50.627930f, factorScale * 7.388184f);
        p.lineTo(factorScale * 50.627930f, factorScale * 9.354004f);
        p.lineTo(factorScale * 53.275879f, factorScale * 9.354004f);
        p.lineTo(factorScale * 53.275879f, factorScale * 10.562500f);
        p.close();
        p.moveTo(factorScale * 53.275879f, factorScale * 10.562500f);
        p.moveTo(factorScale * 58.770508f, factorScale * 6.179688f);
        p.cubicTo(factorScale * 59.726566f, factorScale * 6.179688f, factorScale * 60.514320f, factorScale * 6.484941f, factorScale * 61.133789f, factorScale * 7.095459f);
        p.cubicTo(factorScale * 61.753258f, factorScale * 7.705976f, factorScale * 62.062988f, factorScale * 8.489253f, factorScale * 62.062988f, factorScale * 9.445313f);
        p.lineTo(factorScale * 62.062988f, factorScale * 10.739746f);
        p.cubicTo(factorScale * 62.062988f, factorScale * 11.699387f, factorScale * 61.753258f, factorScale * 12.482663f, factorScale * 61.133789f, factorScale * 13.089600f);
        p.cubicTo(factorScale * 60.514320f, factorScale * 13.696536f, factorScale * 59.726566f, factorScale * 14.000000f, factorScale * 58.770508f, factorScale * 14.000000f);
        p.lineTo(factorScale * 55.252441f, factorScale * 14.000000f);
        p.lineTo(factorScale * 55.252441f, factorScale * 13.060059f);
        p.lineTo(factorScale * 56.084961f, factorScale * 12.898926f);
        p.lineTo(factorScale * 56.084961f, factorScale * 7.286133f);
        p.lineTo(factorScale * 55.252441f, factorScale * 7.125000f);
        p.lineTo(factorScale * 55.252441f, factorScale * 6.179688f);
        p.lineTo(factorScale * 56.084961f, factorScale * 6.179688f);
        p.lineTo(factorScale * 58.770508f, factorScale * 6.179688f);
        p.close();
        p.moveTo(factorScale * 58.770508f, factorScale * 6.179688f);
        p.moveTo(factorScale * 57.653320f, factorScale * 7.388184f);
        p.lineTo(factorScale * 57.653320f, factorScale * 12.796875f);
        p.lineTo(factorScale * 58.689941f, factorScale * 12.796875f);

        p.cubicTo(factorScale * 59.252117f, factorScale * 12.796875f, factorScale * 59.692543f, factorScale * 12.607099f, factorScale * 60.011230f, factorScale * 12.227539f);
        p.cubicTo(factorScale * 60.329918f, factorScale * 11.847980f, factorScale * 60.489258f, factorScale * 11.352054f, factorScale * 60.489258f, factorScale * 10.739746f);
        p.lineTo(factorScale * 60.489258f, factorScale * 9.434570f);
        p.cubicTo(factorScale * 60.489258f, factorScale * 8.829424f, factorScale * 60.329918f, factorScale * 8.337079f, factorScale * 60.011230f, factorScale * 7.957520f);
        p.cubicTo(factorScale * 59.692543f, factorScale * 7.577960f, factorScale * 59.252117f, factorScale * 7.388184f, factorScale * 58.689941f, factorScale * 7.388184f);
        p.lineTo(factorScale * 57.653320f, factorScale * 7.388184f);
        p.close();
        p.moveTo(factorScale * 57.653320f, factorScale * 7.388184f);
        p.setFillType(Path.FillType.EVEN_ODD);
        paint.setShader(null);
        paint.setColor(-1);
        paint.setAlpha(255);
        paint.setStyle(Paint.Style.FILL);
        canvas.drawPath(p, paint);
        canvas.restore();
        paint.setAlpha(255);
        paint.setAlpha(255);
        p.reset();
        p.moveTo(factorScale * 0.000200f, factorScale * 3.967999f);
        p.lineTo(factorScale * 2.027153f, factorScale * 23.887838f);
        p.cubicTo(factorScale * 2.027153f, factorScale * 23.887838f, factorScale * 7.580529f, factorScale * 28.436850f, factorScale * 14.000200f, factorScale * 30.000000f);
        p.cubicTo(factorScale * 20.419870f, factorScale * 28.436850f, factorScale * 25.973248f, factorScale * 23.887838f, factorScale * 25.973248f, factorScale * 23.887838f);
        p.lineTo(factorScale * 28.000200f, factorScale * 3.967999f);
        p.cubicTo(factorScale * 21.242704f, factorScale * 1.322667f, factorScale * 14.000200f, factorScale * 0.000000f, factorScale * 14.000200f, factorScale * 0.000000f);
        p.cubicTo(factorScale * 14.000200f, factorScale * 0.000000f, factorScale * 6.756709f, factorScale * 1.322667f, factorScale * 0.000200f, factorScale * 3.967999f);
        p.close();
        p.moveTo(factorScale * 0.000200f, factorScale * 3.967999f);
        paint.setShader(null);
        paint.setColor(-17664);
        paint.setAlpha(255);
        paint.setStyle(Paint.Style.FILL);
        canvas.drawPath(p, paint);
        paint.setColor(-612829);
        paint.setAlpha(255);
        paint.setStrokeWidth(0.500000f);
        paint.setStrokeCap(Paint.Cap.ROUND);
        paint.setStyle(Paint.Style.STROKE);
        canvas.drawPath(p, paint);
        paint.setAlpha(255);
        p.reset();
        p.moveTo(factorScale * 2.131185f, factorScale * 23.971327f);
        p.cubicTo(factorScale * 2.062497f, factorScale * 23.916954f, factorScale * 2.026953f, factorScale * 23.887838f, factorScale * 2.026953f, factorScale * 23.887838f);
        p.lineTo(factorScale * 0.000000f, factorScale * 3.967999f);
        p.cubicTo(factorScale * 6.756509f, factorScale * 1.322667f, factorScale * 14.000000f, factorScale * 0.000000f, factorScale * 14.000000f, factorScale * 0.000000f);
        p.cubicTo(factorScale * 14.000000f, factorScale * 0.000000f, factorScale * 21.242504f, factorScale * 1.322667f, factorScale * 28.000000f, factorScale * 3.967999f);
        p.lineTo(factorScale * 27.988373f, factorScale * 4.082257f);
        p.cubicTo(factorScale * 26.712177f, factorScale * 4.331305f, factorScale * 11.734498f, factorScale * 7.567048f, factorScale * 2.160889f, factorScale * 23.920441f);
        p.cubicTo(factorScale * 2.150945f, factorScale * 23.937426f, factorScale * 2.141044f, factorScale * 23.954388f, factorScale * 2.131185f, factorScale * 23.971327f);
        p.close();
        p.moveTo(factorScale * 2.131185f, factorScale * 23.971327f);
        paint.setShader(null);
        paint.setColor(-1);
        paint.setAlpha(51);
        paint.setStyle(Paint.Style.FILL);
        canvas.drawPath(p, paint);
        paint.setAlpha(255);
        p.reset();
        p.moveTo(factorScale * 14.000000f, factorScale * 0.000000f);

        p.cubicTo(factorScale * 13.999891f, factorScale * 0.000020f, factorScale * 6.756458f, factorScale * 1.322686f, factorScale * 0.000000f, factorScale * 3.967999f);
        p.lineTo(factorScale * 2.026953f, factorScale * 23.887838f);
        p.cubicTo(factorScale * 2.026953f, factorScale * 23.887838f, factorScale * 7.580329f, factorScale * 28.436850f, factorScale * 14.000000f, factorScale * 30.000000f);
        p.lineTo(factorScale * 14.000000f, factorScale * -0.000000f);
        p.close();
        p.moveTo(factorScale * 14.000000f, factorScale * 0.000000f);
        paint.setShader(null);
        paint.setColor(-1);
        paint.setAlpha(76);
        paint.setStyle(Paint.Style.FILL);
        canvas.drawPath(p, paint);
        paint.setAlpha(255);
        p.reset();
        p.moveTo(factorScale * 20.409977f, factorScale * 9.596017f);
        p.cubicTo(factorScale * 19.623293f, factorScale * 8.801328f, factorScale * 18.347799f, factorScale * 8.801328f, factorScale * 17.561098f, factorScale * 9.596017f);
        p.lineTo(factorScale * 12.575577f, factorScale * 14.632152f);
        p.cubicTo(factorScale * 12.182874f, factorScale * 15.028843f, factorScale * 11.543857f, factorScale * 15.028843f, factorScale * 11.151137f, factorScale * 14.632152f);
        p.lineTo(factorScale * 10.438918f, factorScale * 13.912699f);
        p.cubicTo(factorScale * 9.652217f, factorScale * 13.118010f, factorScale * 8.376724f, factorScale * 13.118010f, factorScale * 7.590039f, factorScale * 13.912699f);
        p.cubicTo(factorScale * 6.803323f, factorScale * 14.707389f, factorScale * 6.803323f, factorScale * 15.995819f, factorScale * 7.590024f, factorScale * 16.790508f);
        p.lineTo(factorScale * 8.302243f, factorScale * 17.509960f);
        p.cubicTo(factorScale * 10.268970f, factorScale * 19.496677f, factorScale * 13.457680f, factorScale * 19.496677f, factorScale * 15.424439f, factorScale * 17.509977f);
        p.lineTo(factorScale * 20.409960f, factorScale * 12.473843f);
        p.cubicTo(factorScale * 21.196676f, factorScale * 11.679137f, factorScale * 21.196676f, factorScale * 10.390707f, factorScale * 20.409977f, factorScale * 9.596017f);
        p.lineTo(factorScale * 20.409977f, factorScale * 9.596017f);
        p.close();
        p.moveTo(factorScale * 20.409977f, factorScale * 9.596017f);
        paint.setShader(null);
        paint.setColor(-1);
        paint.setAlpha(255);
        paint.setStyle(Paint.Style.FILL);
        canvas.drawPath(p, paint);
        paint.setColor(-612829);
        paint.setAlpha(255);
        paint.setStrokeWidth(0.500000f);
        paint.setStyle(Paint.Style.STROKE);
        canvas.drawPath(p, paint);
        canvas.restore();
        canvas.restore();
    }

    @Override
    public void setAlpha(int alpha) {
    }

    @Override
    public void setColorFilter(ColorFilter cf) {
    }

    @Override
    public int getOpacity() {
        return 0;
    }

    @Override
    public int getMinimumHeight() {
        return 10;
    }

    @Override
    public int getMinimumWidth() {
        return 28;
    }
}

